<?php
/**
 * Created By Project
 * Author: 陈东
 * Copyright：陈东
 * Source Code：陈东
 * Explain：I shall not authorize for any other commercial purposes, law breakers must be prosecuted.
 */
namespace Liveadmin\Controller;
use Think\Controller;

class CacheController extends Controller {

    public function cacheLivelist(){
		$liveing = D(C('TABLE_LIVEING'));
		$where['live_status'] != -1;
		$result = $liveing->order('live_push desc,id desc')->where($where)->select();
		S('live_list',$result);
    }

	public function findlive($liveid=null){
		$liveing = D(C('TABLE_LIVEING'));
		$res = $liveing->find($liveid);
		S('live_'.$liveid,$res);
	}


}